package org.bigk.invoices.model;

import org.apache.commons.lang.math.NumberUtils;
import org.bigk.invoices.Globals;

public class PaginatedBean {

	private Integer totalRecords = NumberUtils.INTEGER_ZERO;
	private Integer totalPages = NumberUtils.INTEGER_ZERO;
	private Integer currentPage = NumberUtils.INTEGER_ONE;

	public PaginatedBean() {
	}

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}

	public Integer getTotalRecords() {
		return totalRecords;
	}

	public void setTotalRecords(Integer totalRecords) {
		this.totalRecords = totalRecords;
	}

	public Integer getPaginatedPageSize() {
		return Globals.PAGINATED_PAGE_SIZE;
	}
}
